<?php namespace App;

use Illuminate\Database\Eloquent\Model;

class Marriage extends Model {

    protected $guarded  = ['id'];

    public function poster()
    {
        return $this->belongsTo('App\User', 'user_id');
    }

}
